<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="row">
    <div class="col-xs-6 col-md-2">
        <a href="${pageContext.request.contextPath}/member/index">
            <c:choose>
                <c:when test="${user.avatar != null}">
                    <img style="width:118px;height:118px;" src="${user.avatar}" class="img-circle" alt="...">
                </c:when>
                <c:otherwise>
                    <img src="//t.cn/RCzsdCq" class="img-circle" alt="...">
                </c:otherwise>
            </c:choose>
        </a>
    </div>
    <div class="col-md-10 col-xs-6">
        <div class="page-header">
            <h1>${user.name} <small>欢迎你</small></h1>
        </div>
    </div>
</div>